#pragma once

#include <QObject>
#include <QVector>
#include "port3dapi_global.h"

class PORT3DAPI_EXPORT DoubleArray:public QObject
{
	Q_OBJECT
		Q_CLASSINFO("ClassID", "{23251d72-258a-4eff-b6ac-c3ee1b8aad4e}")
		Q_CLASSINFO("InterfaceID", "{1991c061-688b-4f49-87ce-b538817d891d}")
		Q_CLASSINFO("EventsID", "{186d5a11-4f7c-4708-ad96-7a8fac21e862}")
public:
	DoubleArray(QObject *parent = 0);
	DoubleArray(const DoubleArray & u);
	~DoubleArray();
public slots:
	void addValue(double value);
	void removeValueByIndex(int index);
	int indexOf(double value);
	void clear();
	int size();
public:
	QVector<double>							_valueVector;
};